package com.kuang.demo.mapper;

import com.kuang.demo.bo.zzy.IntegerTest;

import java.util.List;

public interface LoginInfoMapper {
    IntegerTest selectRoles(String principal);

    String selectRoleById(Integer role);

    String selectAvatarByUsername(String principal);

    List<String> selectPermissionsByRoleId(Integer role);

    int insertIntoLog(String principal, String ip);

    int insertIntoLog2(String principal, String ip);
}
